<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<link rel="stylesheet" href="${ctx}/page/include/css/memberInfo.css" />
<div class="panel panel-default">
  <div class="panel-heading">
    	个人信息
  </div>
  <div class="panel-body">
    <div class="media">
	      <div class="media-left">
		        <a href="${ctx}/member/profile">
		          <img onerror="this.src='${ctx}/static/imgs/avatar.jpg'" src="${member.avatar}" class="avatar"/>
		        </a>
	      </div>
	      <div class="media-body">
		        <div class="media-heading">
		          <a style="color: #333333" href="${ctx}/member/profile">${member.name}</a>
		        </div>
		        <div class="signature">
		        	<c:choose>
		        		<c:when test="${member.signature eq null}">
		        			<i>这家伙很懒 ,什么都没留下</i>
		        		</c:when>
		        		<c:otherwise>
		        			<i>${member.signature}</i>
		        		</c:otherwise>
		        	</c:choose>
		        </div>
	      </div>
    </div>
	<div class="dotLine"></div>
		<div>
			 <ul class="info">
				<li>
			    	<strong>${topicCounts}</strong>
			    	<p>话题</p>
			    </li>
			    <li>
			    	<strong>${colCounts}</strong>
			    	<p>收藏</p>
			    </li>
			    <li>
			        <strong><fmt:formatNumber type="number" value="${points}" pattern="0.00" maxFractionDigits="2"/></strong>
			    	<p>积分</p>
			    </li>
			 </ul>
		</div>
    <button onclick="window.location.href='${ctx}/point/pointRecharge'" class="btn btn-default btn-block">积分充值</button>
  </div>
 
</div>